package com.spring.lth.mapper;

import com.spring.lth.domain.Card;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 罗天豪
 * @date 2019/7/26
 */
@Mapper
public interface CardMapper {
    Card selectCardById(@Param("id") Long id);

    int insertCard(@Param("card") Card card);

    int deleteCardById(@Param("card") Card card);
}
